<?php
// these settings only take effect on the main page

$homepage = "http://www.kevinstory.net/ImageDirectory/"; // your homepage link
$homepage_title = "Home Page";
$width = 100; //width of thumbnails on index page

// you shoulnd't have to change anything below this line
$index_columns = 4;
$dir = getcwd();
if ($handle = opendir($dir)) {
   while (false !== ($file = readdir($handle))) {
       if (is_dir($file) && $file != "." && $file != ".." && $file != ID_images) {
       	if (is_dir($handle."/".$file));
		$galleries[] = $file;
	   }
   }
   closedir($handle);
}
sort($galleries);
$directories = $galleries;
?>